package cn.ihelloworld.util;

import java.io.Serializable;
import java.util.List;

public class JSONResult<T> implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5223873799680713533L;
	
	private int currentPage=1;
	private int pageSize=15;
	private int total=0;
	private List<T> rows;
	private T bean;
	private boolean status;
	
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public List<T> getRows() {
		return rows;
	}
	public void setRows(List<T> rows) {
		this.rows = rows;
	}
	public T getBean() {
		return bean;
	}
	public void setBean(T bean) {
		this.bean = bean;
	}
	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}

}
